package cqut.wys;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;

/**
 * FeignApplication应用启动类
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients     //注解开启Feign功能
public class FeignApplication
{
    public static void main(String[] args )
    {
        SpringApplication.run(FeignApplication.class,args);
        System.out.println( "Hello World!" );
    }
}
